BoldBlocks\Variations A

Total Complexity 68
Dependencies 4
Dependents 3
Total lines 680
Lines of code 378
Logical lines of code 171
Comment lines 199
Methods 24
Properties 5

Methods 24

Method Rating Maintainability Complexity Lines of code
pre_get_posts_order_variation_custom_columns()
A
53 8 23
update_template_for_variation()
S
54 7 20
create_variation()
S
53 6 21
load_custom_block_variation_styles()
S
51 5 27
enqueue_custom_variation_scripts()
S
53 5 21
enqueue_style_for_the_editor()
S
61 5 14
register_custom_post_type()
S
41 1 72
get_posts()
S
62 5 11
query_posts()
S
45 2 42
add_filter_select_control()
S
57 3 16
manage_variation_columns()
S
62 3 12
admin_listing_variation_page()
S
69 3 6
run()
S
55 1 17
get_all_variations()
S
72 2 6
add_custom_columns_to_query_vars()
S
68 2 7
save_variation_style()
S
73 2 5
build_create_variation_endpoint()
S
62 1 13
enqueue_block_editor_assets()
S
63 1 11
add_fields_to_revision_meta_keys()
S
65 1 11
__construct()
S
76 1 4
register_meta()
S
79 1 3
clear_transient_cache()
S
81 1 3
add_variation_custom_columns()
S
65 1 8
variation_sortable_columns()
S
74 1 5